/////////////////////////////////////////////////////////////////////////////
// Name:        generalpanel.h
// Purpose:     
// Author:      Brant Young
// Modified by: 
// Created:     Wed Jun 20 23:05:28 2007
// RCS-ID:      
// Copyright:   (C) Victsoft 2007
// Licence:     GPL 2.0
/////////////////////////////////////////////////////////////////////////////

#ifndef _GENERALPANEL_H_
#define _GENERALPANEL_H_



////@begin forward declarations
class wxBoxSizer;
////@end forward declarations


/*!
 * GeneralPanel class declaration
 */

class GeneralPanel: public wxPanel
{

public:
    /// Constructors
    GeneralPanel(wxWindow* p_parent);

    /// Destructor
    virtual ~GeneralPanel();

////@begin GeneralPanel member variables
    wxBoxSizer* p_root_sizer;
    wxStaticBox* p_common_sizer_stc;
    wxStaticBoxSizer* p_common_sizer;
    wxBoxSizer* p_lang_sizer;
    wxStaticText* p_lang_stc;
    wxComboBox* p_lang_cbox;
    wxCheckBox* p_minimize_chkbox;
    wxCheckBox* p_enable_sound_chkbox;
    wxStaticBox* p_float_wnd_sizer_stc;
    wxStaticBoxSizer* p_float_wnd_sizer;
    wxCheckBox* p_show_float_wnd_chkbox;
    wxCheckBox* p_hide_float_wnd_chkbox;
    wxBoxSizer* p_key_sizer;
    wxStaticText* p_key_stc;
    wxComboBox* p_key_cbox;
    /// Control identifiers
    enum {
        ID_GENERAL_PANEL = 10032,
        ID_LANG_CBOX = 10001,
        ID_MINIMIZE_CHKBOX = 10002,
        ID_ENABLE_SOUND_CHKBOX = 10003,
        ID_SHOW_FLOAT_WND_CHKBOX = 10004,
        ID_HIDE_FLOAT_WND_CHKBOX = 10005,
        ID_KEY_CBOX = 10007
    };
////@end GeneralPanel member variables
    
    bool set_cfg();
    
protected :
	
    void _init_cfg();
};

#endif
    // _GENERALPANEL_H_
